package org.example.gradle.jp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//To use OkHttpClient-backed Feign clients and Http2Client Feign clients,
// make sure that the client you want to use is on the classpath and set spring.cloud.openfeign.okhttp.enabled or spring.cloud.openfeign.http2client.enabled to true respectively.
@EnableFeignClients(basePackages = "org.example.gradle.jp.feigns")
@ComponentScan(value = {"gradle.common","org.example.gradle.jp"})
@MapperScan(value="org.example.gradle.jp.mapper")
public class GradleJpApplication {

    public static void main(String[] args) {
        SpringApplication.run(GradleJpApplication.class, args);
    }

}
